<%--
  Created by IntelliJ IDEA.
  User: tonghl
  Date: 2022/7/12
  Time: 2:20 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>上传文件</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet"  href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/toastr.min.css"/>
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/bootstrap.js"></script>

    <link rel="stylesheet" href="css/fileinput.min.css" />
    <script src="js/fileinput.min.js"></script>
    <script src="js/zh.js"></script>
    <script type="text/javascript" src="/js/toastr.min.js"></script>
    <script type="text/javascript" src="/js/leaveupload.js"></script>
</head>
<body>
<div class="container" style="margin-top:10px;">
    <form id="multipleUploadForm" name="multipleUploadForm"
          class="form-horizontal" role="form">
        <div>
            <input type="text"  id="reason" name="reason" placeholder="请假原因">
            <input type="text"  id="description" name="description" placeholder="外出路线">
            <input type="datetime-local" id="start" name="start">
            <input type="datetime-local" id="end" name="end">
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-6">
                <input id="multipleFileUploadInput" type="file" name="files" style="height:40px;"
                       class="file-input form-control" multiple required />
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-4 col-sm-10">
                <button type="submit" class="btn btn-default">上传</button>
                <button type="button" class="btn btn-default" id="viewList">查看</button>
            </div>
        </div>
    </form>

    <div class="upload-response">
        <div id="multipleFileUploadError"></div>
        <div id="multipleFileUploadSuccess"></div>
    </div>
   <div id="img" style="width: 400px;height: 350px"></div>
</div>

</body>
</html>